LIBFLAGS =  -lm -ljpeg -L../../libavcodec/installed/arm-2.95.3/lib#-lgpm -lpng -lz 
CFLAGS = -I../../libavcodec/installed/arm-2.95.3/include
TARGET = fbview

all: fbview 

fbview:
	${CC} ${TARGET}.c rgb2yuv420.c ${CFLAGS} ${LDFLAGS} ${LIBFLAGS} -o ${TARGET}

install:
	cp ${TARGET} /usr/bin/

clean:
	rm -f ${TARGET} ${TARGET}.gdb

romfs:
	$(ROMFSINST) fbview /usr/bin
.PHONY: all clean
